//---------------------------------------------------------------------------

#ifndef ZAMENA_SCHH
#define ZAMENA_SCHH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxEdit.hpp"
#include "cxGraphics.hpp"
#include "cxGroupBox.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "Shablon_Edit.h"
#include <ExtCtrls.hpp>
#include "cxClasses.hpp"
#include "cxCustomData.hpp"
#include "cxData.hpp"
#include "cxDataStorage.hpp"
#include "cxDBData.hpp"
#include "cxFilter.hpp"
#include "cxGrid.hpp"
#include "cxGridCustomTableView.hpp"
#include "cxGridCustomView.hpp"
#include "cxGridDBTableView.hpp"
#include "cxGridLevel.hpp"
#include "cxGridTableView.hpp"
#include "cxStyles.hpp"
#include <DB.hpp>
#include "cxButtons.hpp"
#include <ActnList.hpp>
#include <Menus.hpp>
#include <DBCtrls.hpp>
#include "DBAccess.hpp"
#include "IBC.hpp"
#include "MemDS.hpp"
//---------------------------------------------------------------------------
class TfrZAMENA_SCH : public TfrShablon_Edit
{
__published:	// IDE-managed Components
	TcxGrid *sgZAMENA_SCH;
	TcxGridDBTableView *cxGridDBTableView1;
	TcxGridLevel *cxGridLevel1;
	TcxGridDBColumn *NOM_ABON;
	TcxGridDBColumn *DAT_ZAM;
	TcxGridDBColumn *DAT_WOD;
	TcxGridDBColumn *KOD_OP;
	TcxButton *btDelete;
	TcxButton *btPoisk;
	TActionList *ActionList1;
	TAction *POISK;
	TAction *Delete;
	TcxGridDBColumn *FIO;
	TcxGroupBox *gbOLD_SCH;
	TcxGroupBox *gbNEW_SCH;
	TLabel *Label1;
	TDBText *labMARKA_NEW;
	TLabel *Label2;
	TLabel *Label3;
	TDBText *labMODEL_NEW;
	TDBText *labZAW_NOM;
	TLabel *Label4;
	TDBText *labRAZR;
	TLabel *Label5;
	TDBText *labDATA_UST;
	TLabel *Label7;
	TDBText *labPOK_UST;
	TLabel *Label11;
	TLabel *Label12;
	TLabel *Label13;
	TLabel *Label14;
	TDBText *labRAZRJD_OLD;
	TDBText *labZAW_NOM_OLD;
	TDBText *labMODEL_OLD;
	TDBText *labMARKA_OLD;
	TLabel *Label17;
	TDBText *labPOK_SNJT;
	TIBCQuery *dsetZAMENA_SCH;
	TIBCDataSource *dsZAMENA_SCH;
	TLabel *lab1;
	TDBText *labDAT_ZAM;
	TLabel *lab2;
	TDBText *labKEM_ZAM;
	TLabel *lab3;
	TDBText *labDAT_WOD;
	TLabel *lab4;
	TDBText *labKOD_OP;
	TAction *actESC;
	void __fastcall POISKExecute(TObject *Sender);
	void __fastcall DeleteExecute(TObject *Sender);
	void __fastcall FormShow(TObject *Sender);
	void __fastcall cxGridDBTableView1DblClick(TObject *Sender);
	void __fastcall actESCExecute(TObject *Sender);
private:	// User declarations
public:		// User declarations
int Stat,NOM;
	__fastcall TfrZAMENA_SCH(TComponent* Owner);
	void __fastcall TfrZAMENA_SCH::Obnovi(int Stat);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrZAMENA_SCH *frZAMENA_SCH;
//---------------------------------------------------------------------------
#endif
